package com.ruoyi.business.domain.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lxy
 * @date 2023/4/21 16:32
 */
@NoArgsConstructor
@Data
public class BinghuTokenResponse {


    @JsonProperty("state")
    private Integer state;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("accessToken")
        private String accessToken;
        @JsonProperty("refreshToken")
        private String refreshToken;
        @JsonProperty("expiresIn")
        private Integer expiresIn;
    }
}
